SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{511f8809495496d77d80c475093377e33bbc77c5367a8fbcad888ac49fc5c35b}Reichshof{511f8809495496d77d80c475093377e33bbc77c5367a8fbcad888ac49fc5c35b}' OR prCity = 'Reichshof' OR prZip = 'Reichshof' OR prStreet LIKE '{511f8809495496d77d80c475093377e33bbc77c5367a8fbcad888ac49fc5c35b}Reichshof{511f8809495496d77d80c475093377e33bbc77c5367a8fbcad888ac49fc5c35b}' OR prCountry = 'Reichshof') AND (prLocation LIKE '{511f8809495496d77d80c475093377e33bbc77c5367a8fbcad888ac49fc5c35b}Germany{511f8809495496d77d80c475093377e33bbc77c5367a8fbcad888ac49fc5c35b}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{511f8809495496d77d80c475093377e33bbc77c5367a8fbcad888ac49fc5c35b}Germany{511f8809495496d77d80c475093377e33bbc77c5367a8fbcad888ac49fc5c35b}' OR prCountry = 'Germany')